window.onload=function() {
				var btn_submit=document.getElementById("btn_submit");
					btn_submit.onclick=function() {
					var validate_info=document.getElementById("validate-info");
					var username=document.getElementById("username").value;
					var psw=document.getElementById("psw").value;
					if(validate_info.style.visibility=="visible") {
						validate_info.style.visibility="hidden";
					}

					if(username==""||psw=="") {
						validate_info.style.visibility="visible";
						var prompt=document.getElementById("prompt");
						prompt.innerHTML="账号或密码不能为空";
						var user_input=document.getElementsByClassName("user_input");
						for(var i=0;i<user_input.length;i++) {
							user_input[i].style.borderColor="#f5d8a7";
						}
						return false;
					}
				}
			}